package day5;

public class Rent {
    private String name;
    private String vehicleid;
    private String brand;
    private int days;
    private double money;

    public Rent(String name,String vehicleid, String brand, int days, double money) {
        this.name=name;
        this.vehicleid = vehicleid;
        this.brand = brand;
        this.days = days;
        this.money = money;

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVehicleid() {
        return vehicleid;
    }

    public void setVehicleid(String vehicleid) {
        this.vehicleid = vehicleid;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Rent{" +
                "姓名：" + name + '\'' +
                "车牌号：'" + vehicleid + '\'' +
                "品牌" + brand + '\'' +
                "天数" + days +
                "租金" + money +
                '}';
    }
}
